'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up(queryInterface, Sequelize) {

    // Example:
    await queryInterface.bulkInsert('technical_directions', [{
      title: '超星代刷',
      content: '单次价格：',
      technologies: JSON.stringify(['HTML/CSS', 'JavaScript', 'React', 'Node.js', 'Android SDK', 'Swift']),
      price_low: 5000.00,
      price_high: 20000.00,
      created_at: new Date(),
      updated_at: new Date(),
    },
    {
      title: '跑步代刷',
      content: '',
      // technologies: JSON.stringify(['HTML/CSS', 'JavaScript', 'React', 'Node.js', 'Android SDK', 'Swift']),
      price_low: 5000.00,
      price_high: 20000.00,
      created_at: new Date(),
      updated_at: new Date(),
    }], {});

  },

  async down(queryInterface, Sequelize) {
    /**
     * Add commands to revert seed here.
     *
     * Example:
     * await queryInterface.bulkDelete('People', null, {});
     */
  }
};
